sudo nano /bin/connect-bluetooth.sh
In that file add
#!/bin/bash
sudo bluetoothctl << EOF
power on
connect MAC Address »
exit
EOF
Save that file.
Make it executable
sudo chmod +x /bin/connect-bluetooth.sh
Then create a new file
sudo nano /etc/systemd/system/connect-bluetooth.service
Add this text:
Unit »
Description=Connect Bluetooth
Service »
Type=oneshot
ExecStart=/bin/connect-bluetooth.sh
Install »
WantedBy=multi-user.target
Save that file.
Then run this command to enable that process
sudo systemctl enable /etc/systemd/system/connect-bluetooth.service
- There is a HDMI LCD Display, with native resolution 1366x768. But it can be driven at many resolutions, starting at 640x480 (VGA), up to 1920x1080 (FDH). The plug is mini-HDMI.
- There is a Bluetooth Keyboard and Touchpad. I have a Maxxter ACT-KB-BT-001 (from Action), which has the same key layout, albeit different functions. Or the Inatek BT1003. It has BT address 20:16:45:XX:XX:XX . Detected as 'hid-generic 0005:04E8:7021.0003'. The touchpad is apparently chained to the keyboard; I havent seen any info about it. But, it you connect the keyboard, you will also get touchpad events.
I've actually just received one of these HATs (the crashing version), and found this issue because my Pi Zero was crashing. Thanks for all the suggestions here.
Instead of messing around with capacitors, wouldn't it be simpler to do this:
remove (clip off / unsolder) the 5V pin(s) from the Pi header
attach the HAT to the Pi
solder a wire from the 3.3v pin to VCC on the HAT